#ifndef _BOARD_H_
#define _BOARD_H_

#include "Piece.hpp"

using namespace apng::checkers::pieces;

namespace apng {

	namespace checkers {

		namespace board {

			class Board {

				private:

					int width;
					int height;

					Piece* pieces;

				public:

					Board(int width, int height);
					virtual ~Board();

					bool movePiece(int fx, int fy, int tox, int toy);
					bool removePiece(int x, int y);
					bool addPiece(Piece& p, int x, int y);

					Piece* getBoard(void) const;
			};
		}
	}
}

#endif
